<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>定位的特殊性</title>
    <style>
        span {
            position: absolute;
            top: 300px;
            width: 200px;
            height: 100px;
            background-color:rgba(0, 255, 255,.3);
        }
        div {
            position: absolute;
            background-color:cadetblue;
        }
    </style>
</head>
<body>
    <span>123</span>
    <div>abcd</div>
    <img src="img/定位的特殊性.png" alt="">
</body>
</html>